package csloader.events
{
	import flash.events.Event;
	
	public class EventDelegate
	{
		public function EventDelegate()
		{
		}
		
		public static function create(fn:Function,...args):Function {
			return function(e:Event):void {
				fn.apply(null,[e].concat(args));
			}
		}
	}
}